﻿using System;
using System.Xml;

namespace Illusion.Elements.Xml
{
	// Token: 0x02000311 RID: 785
	public abstract class Data
	{
		// Token: 0x060013C4 RID: 5060 RVA: 0x0008C124 File Offset: 0x0008A324
		public Data(string elementName)
		{
			this.elementName = elementName;
		}

		// Token: 0x060013C5 RID: 5061 RVA: 0x0008C134 File Offset: 0x0008A334
		public virtual void Init()
		{
		}

		// Token: 0x060013C6 RID: 5062 RVA: 0x0008C138 File Offset: 0x0008A338
		public virtual void Read(string rootName, XmlDocument xml)
		{
		}

		// Token: 0x060013C7 RID: 5063 RVA: 0x0008C13C File Offset: 0x0008A33C
		public virtual void Write(XmlWriter writer)
		{
		}

		// Token: 0x040018B3 RID: 6323
		protected readonly string elementName;
	}
}
